package cn.aifeix.system.domain;

import cn.aifeix.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author aifeix
 * @since 2022-10-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role extends BaseDomain{

    private String name;
    private String sn;

    private List<Menu> ownMenus;
    // 角色对应的菜单集合
    private List<Long> menus;
    // 角色对应的权限集合
    private List<Long> permissions;
}
